home *** CD-ROM | disk | FTP | other *** search
AMOS Source Code | 1980-08-18 | 1021 b | 40 lines |
- Screen Open 0,640,200,2,Hires
- 'Define the objects
- Extension_12_050E 32
- For OBJ=1 To 2
- Extension_12_01BE OBJ,5
- Extension_12_020E OBJ,1 To 0,0
- Extension_12_01F6 OBJ,2 To 10,0
- Extension_12_01F6 OBJ,3 To 10,10
- Extension_12_01F6 OBJ,4 To 0,10
- Extension_12_01F6 OBJ,5 To 0,0
- Next
- 'draw them on the screen
- For OBJ=1 To 2
- Extension_12_0264 OBJ,150,100
- Extension_12_0294 OBJ,110,50,5
- Extension_12_0294 OBJ,100,1,-2
- Next OBJ
- Text 0,150,"Ok, I've now saved the objects..."
- '
- Extension_12_02EE "dh0:test_object",1 To 2
- Text 0,160,"Now removing them !"
- 'removing them
- For OBJ=1 To 2
- Extension_12_02B2 OBJ
- Next
- Text 0,170,"Just loading them back...YEAH !"
- Text 0,180,"Now press any key !"
- Wait Key
- Cls
- Text 0,150,"Now I'm loading and defining the objects."
- Text 0,160,"As you can see object 3 and 4 are now defined !"
- '
- Extension_12_0304 "dh0:test_object",3
- Extension_12_0264 3,0,0
- Extension_12_0264 4,100,100
- For OBJ=3 To 4
- Extension_12_02B2 OBJ
- Next
- Extension_12_050E 0
- End